package com.mz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mz.common.dto.PaginationVo;
import com.mz.entity.UmsPermissionInfo;
import com.mz.entity.UmsRoleInfo;
import com.mz.entity.UmsRolePermission;
import com.mz.entity.vo.RoleVo;
import com.mz.entity.vo.UmsRoleInfoQuery;

import java.util.List;

/**
 * (UmsRoleInfo)表服务接口
 *
 * @author makejava
 * @since 2023-12-13 13:38:36
 */
public interface UmsRoleInfoService  {

    IPage getRoleList(PaginationVo paginationVo, UmsRoleInfoQuery umsRoleInfoQuery) throws Exception;

    void addRole(RoleVo roleVo) throws Exception;

    void removeRole(List<Long> idList) throws Exception;

    List<UmsRolePermission> getRolePermissionList(Long roleId) throws Exception;

    void updateRole(RoleVo roleVo) throws Exception;

    List<UmsRoleInfo> getRoleAllListNotPermission() throws Exception;
}

